const stationModel = require('../model/station');

class StationService {

  async getListByFilter( args ){
    return  await stationModel.getDataByFilter(args);
  }
  async getCountByFilter( args ){
    return await stationModel.getCountByFilter(args);
  }

  async getStaName( args ){
    return await stationModel.getStaName(args);
  }

  async getOuName( args ){
    return await stationModel.getOuName(args);
  }
  async updateStaData( args ){
    return await stationModel.updateStaData(args);
  }
  async delStaData( args ){
    return await stationModel.delStaData(args);
  }
  async creatStaData( args ){
    return await stationModel.creatStaData(args);
  }

}

module.exports = new StationService();
